package com.pantuo.common.exception;

public class ServiceException extends RuntimeException {

    public ServiceException() {
    }

    public ServiceException(String message) {
        super(message);
    }

    public ServiceException(Throwable cause) {
        super(cause);
    }


    String message;
    Integer code;
    public ServiceException(String message, Integer code){
        //super(message);
        this.message = message;
        this.code = code;

    }

}
